<!-- 引入公共部分 -->
{{extend './layout.html'}}

{{block 'link'}}
<!-- 添加css链接 -->
<link rel="stylesheet" href="/static/admin/css/usersRealName.css">
{{/block}}

<!-- body代码 -->
{{block 'main'}}
    <!-- 头部导航代码 -->
    {{include './header.html'}}
    <div class="banner">
        <div class="left">
            <!-- 侧边栏 -->
            {{include './aside.html'}}
        </div>
        <div class="right">
            <div class="nav">
                <i class="iconfont shouyebeifen"></i>
                <a href="/admin">首页</a>
                <i class="iconfont zuoyoujiantou"></i>
                <a href="/admin/store/goodsMenu">商品列表</a>
                <i class="iconfont zuoyoujiantou"></i>
                <a href="/admin/store/goodsDetail">商品详情</a>
            </div>
            <div class="wrap">
                <div class="goodsInfoDiv">
                    <span class="goodsInfoTitle">用户信息</span>
                    <div class="goodsinfo">
                        <div class="headImgDiv" style="text-align:center">
                            <img src="{{info.page.img?info.page.img:''}}" class="headImg" alt="">
                        </div>
                        <span>真实姓名：{{info.data['用户：'].realName}}</span>
                        <span>性别：{{info.data['用户：'].sex}}</span>
                        <span>民族：{{info.data['用户：'].nation}}</span>
                        <span>所在省份：{{info.data['用户：'].nativePlace}}</span>
                        <span>身份：{{info.data['用户：'].identity}}</span>
                        <span>身份证号：{{info.data['用户：'].idCard}}</span>
                        <span>出生年月日：{{info.data['用户：'].birth}}</span>
                        <span>电话：{{info.data['用户：'].telephone}}</span>
                        <span>邮箱：{{info.data['用户：'].email}}</span>
                        <span>用户名：{{info.page.nickname}}</span>
                        <span>用户状态：{{info.page.flag==0?'普通用户':'商家'}}</span>
                        <span>是否VIP：{{info.page.vip==0?'否':'是'}}</span>
                        <!-- <span>商品申请时间：{{info.time?info.time:"无"}}</span> -->
                    </div>
                </div>
                <div class="goodsMainImgsDiv">
                    <span class="goodsImgTitle">身份证</span>
                    <div class="goodsMainImg">
                        <img src="{{info.data['用户：'].idPositive}}"  alt="">
                            <img src="{{info.data['用户：'].idFace}}"  alt="">
                            <!-- <img src="{{info.data['用户：'].certificatesImg}}"  alt=""> -->
                    </div>
                </div>
                <div class="goodsHandleDiv">
                    <span class="goodsHandleTitle">商品操作</span>  
                    <div class="goodsBtns">
                        <button class="btn updataBtn" id={{info.data['用户：'].flag==1?'hide':'a'}} flag={{info.data['用户：'].flag}} userid={{info.page.userId}} onclick="openPassGoodsFun()">通过</button>
                        <button class="btn delsBtn" id={{info.data['用户：'].flag!=1?'hide':'a'}} flag={{info.data['用户：'].flag}} userid={{info.page.userId}} onclick="openPassGoodsFun()">拒绝</button>
                        <!-- <button class="btn updataBtn" flag="2"  userid={{info.page.userId}} onclick="openPassGoodsFun()">通过</button>
                        <button class="btn delsBtn"  flag="1" userid={{info.page.userId}} onclick="openPassGoodsFun()">拒绝</button> -->
                        <button class="btn addBtn" onclick="returnFun()">返回上一步</button>
                    </div>
                </div>
               <div class="reasonWin">
                   <div class="reasonTop">
                       <span>内容</span>
                       <i class="iconfont shibai" onclick="closeReasonWin()"></i >
                   </div>
                   <span class="rafusalReason">请说明拒绝该申请人申请店铺的理由，以便下次在申请时做好准备。</sp>
                    <textarea name="desc" placeholder="请输入拒绝理由" class="reasonWrap"></textarea>
                    <div class="reasonBtns">
                        <button class="btn updataBtn" id="passBtn"  onclick="undercarriageGoodsFun()">确认</button>
                        <button class="btn delsBtn" id="refuseBtn" onclick="closeReasonWin()">取消</button>
                    </div>
               </div>
               <div class="covers" onclick="closeReasonWin()"></div>
            </div> 
        </div>
        <!-- 底部信息 -->
        
        {{include './footer.html'}}
        <div class="covers" onclick="closeFun()"></div>
        
    </div>
    {{include './tools.html'}}
{{/block}}
{{block 'script'}}
<!-- 添加js代码 -->
<script src="/static/admin/js/usersRealName.js"></script>
{{/block }}
